﻿using System.Web.Mvc;

namespace RealtyReview.Controllers
{
    [Authorize]
    public class ProfileController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Messages()
        {
            ViewBag.Id = "messages";
            return PartialView("_MessageList");
        }

        public ActionResult Reviews()
        {
            ViewBag.Id = "reviews";
            return PartialView("_ReviewList");
        }

        public ActionResult Comments()
        {
            ViewBag.Id = "comments";
            return PartialView("_CommentList");
        }

        public ActionResult Notifications()
        {
            ViewBag.Id = "notifications";
            return PartialView("_NotificationList");
        }

        public ActionResult Details()
        {
            return PartialView("_Details");
        }

        public ActionResult Settings()
        {
            return PartialView("_Settings");
        }

        public ActionResult Users()
        {
            return PartialView("_Users");
        }
    }
}